home *** CD-ROM | disk | FTP | other *** search
- # File: pi.make
- #
- # Easy as pi dcmd
- # Created at MacHack 2000 by Philippe Casgrain
- # philippe@casgrain.com
- #
- # This builds the dcmd and moves it to the MacsBug Preferences folder
- # in the System folder. You may have to localize the Preferences
- # folder name on a non-US system.
- #
- # Note that the link order is important. If you link something else first,
- # it will barf in the BuildDcmd.
- # This is set up for MPW 3.2, since the libraries moved.
-
- pi.p.o ƒ pi.make pi.p
- Pascal pi.p
- dcmdGlue.a.o ƒ dcmdGlue.a
- asm -o dcmdGlue.a.o dcmdGlue.a
-
- SOURCES = pi.p
- OBJECTS = dcmdGlue.a.o pi.p.o
-
- pi ƒ pi.make {OBJECTS}
- Link -sg Main=PASLIB,%A5INIT ∂
- {OBJECTS} ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- "{PLibraries}"PasLib.o ∂
- -o pi
- BuildDcmd pi 45243
-
- move pi "{SystemFolder}Preferences:MacsBug Preferences:pi" -y
-